const router = require('express').Router();
const {DB} = require('../database/index');
router.get('/sync',async (req,res)=>{
    await DB.init()
    res.send('数据库初始化成功')
})
router.get('/',async(req,res)=>{
    res.json({code:200,message:'请求成功'})
})
module.exports = router